package cn.amos.facade.request;

import com.google.gson.Gson;

import java.io.Serializable;

/**
 * @author DaoyuanWang
 */
public class ProductForm implements Serializable {

    private static final long serialVersionUID = -2527229515893919552L;

    private Integer id;
    private String name;
    private String price;
    private String info;
    private String expand;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getExpand() {
        return expand;
    }

    public void setExpand(String expand) {
        this.expand = expand;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
